package com.ulife.order.api.response.cms;

import com.ulife.common.gateway.utils.annotation.Description;
import java.io.Serializable;

/**
 * Created by Luohx on 2016/6/16.
 */
@Description("订单退款记录")
public class SaleOrderRefundInfo implements Serializable{

    @Description("订单编号")
    public String soNo;

    @Description("退款渠道")
    public String payChannel;

    @Description("支付记录Id")
    public long payId;

    @Description("退款金额")
    public double amount;

    @Description("创建人")
    public String createdBy;

    @Description("创建时间")
    public long createdTime;

    @Description("修改人")
    public String modifiedBy;

    @Description("修改时间")
    public long modifiedTime;

    @Description("退款单状态：1已创建，2已成功，3失败")
    public int refund_Status;

    public String getSoNo() {
        return soNo;
    }

    public void setSoNo(String soNo) {
        this.soNo = soNo == null ? null : soNo.trim();
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel == null ? null : payChannel.trim();
    }

    public long getPayId() {
        return payId;
    }

    public void setPayId(long payId) {
        this.payId = payId;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy == null ? null : createdBy.trim();
    }

    public long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(long createdTime) {
        this.createdTime = createdTime;
    }

    public String getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(String modifiedBy) {
        this.modifiedBy = modifiedBy == null ? null : modifiedBy.trim();
    }

    public long getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(long modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    /**
     * 获取退款记录状态 <br />
     *  1已创建，2已成功，3失败
     * @return
     */
    public int getRefund_Status() {
        return refund_Status;
    }

    /**
     *  设置退款记录状态
     * @param refund_Status
     */
    public void setRefund_Status(int refund_Status) {
        this.refund_Status = refund_Status;
    }
}
